package com.rt.easyjava.base.biz1.dto.base;


import com.rt.easyjava.base.biz1.dto.TmptAuthDeptBizDto;
import com.rt.easyjava.common.base.CommonDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;
import java.util.List;

/**
 *
 * @author wuxiaoyong
 * @since 2020-11-28
 */

@ApiModel(description = "TmptAuthDeptDto传输对象")
@Data
@ToString
@EqualsAndHashCode(callSuper = false)
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class TmptAuthDeptDto extends CommonDto implements Serializable{
    private static final long serialVersionUID = 1L;

    private String deptLogo;
    private String address;
    private Integer govCmpy;
    private Integer level;

    private Long id; // id或Id结尾，数据类型保持数据库一致
    private Long parentId;
    private String name;
    private String number;
    @ApiModelProperty(hidden = true)
    private Object tmptDeptType; // 枚举，通过dozer转换:  当bean->dto时, 放入json对象 如{'id':1, 'name':'无效'}； 当dto->bean时, object->Integer
    @ApiModelProperty(hidden = true)
    private Object deleteflag; // 枚举，通过dozer转换:  当bean->dto时, 放入json对象 如{'id':1, 'name':'无效'}； 当dto->bean时, object->Integer
    private String createman;
    private String modifydate;
        private String modifyman;
    private String createdate;
        private Long companyId;
    private Long createmanId;
    private Long modifymanId;

    // 当树表时，用这个存储子树
    @ApiModelProperty(hidden = true)
    private List<TmptAuthDeptBizDto> tmptAuthDeptList;

    //----------------------------------------
    // 与页面交互时的参数
    //----------------------------------------
    private String modifydate_Start;
    private String modifydate_End;
    private String createdate_Start;
    private String createdate_End;
}
